package reflect;

public class User {
    private Integer age;
    private String name;

    public User(Integer age, String name) {
        this.age = age;
        this.name = name;
    }

    public User(Integer age) {
        this.age = age;
    }

    private User(String name) {
        System.out.println("name="+name);
        this.name = name;
    }

    private String hello(String string){
        return "hello,"+string;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
